package com.qiyi.player.core.video.file
{
   import flash.events.IEventDispatcher;
   import com.qiyi.player.core.IDestroy;
   import com.qiyi.player.core.player.coreplayer.ICorePlayer;
   import com.qiyi.player.core.model.IMovie;
   import com.qiyi.player.core.video.decoder.IDecoder;
   import com.qiyi.player.core.video.file.actors.datatile.MediaData;
   
   public interface IFile extends IEventDispatcher, IDestroy
   {
      
      function get holder() : ICorePlayer;
      
      function get movie() : IMovie;
      
      function get bufferLength() : int;
      
      function get eof() : Boolean;
      
      function initialize(param1:ICorePlayer, param2:IMovie, param3:IDecoder) : void;
      
      function sequenceReadData() : MediaData;
      
      function sequenceReadDataFrom(param1:int) : MediaData;
      
      function seek(param1:int) : void;
      
      function clear() : void;
      
      function prepareSwitchMediaData() : void;
   }
}
